package atm.pojo;

import java.io.Serializable;

public class UserDO implements Serializable {
    private static final long serialVersionUID = -1L;
    //账户，密码，余额，id
    private String account;
    private String password;
    private double money;
    private int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public UserDO(String account, String password, double money, int id) {
        this.account = account;
        this.password = password;
        this.money = money;
        this.id = id;
    }

    public UserDO() {

    }

    public UserDO(String account, String password, double money) {
        this.account = account;
        this.password = password;
        this.money = money;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }
}
